/**
 * Name: shapeshader.vsh
 * Author: tomita
 * Date: 2011/10/28
 * Description: 
 */

attribute vec4 vertex;

#if 0
uniform mat4 World;
uniform mat4 View;
uniform mat4 Proj;
#else
uniform mat4 WorldViewProj;
#endif

void main()
{
#if 0
  mat4 transform=Proj*View*World;
  gl_Position=transform*vec4(vertex.xyz,1.0);
#else
  gl_Position=WorldViewProj*vertex;
#endif
  
}


